package com.polaris.live.widget.high_light.shape

import android.graphics.Path
import android.graphics.RectF

/**
 * OvalShape
 *
 * @author Created by 半仙 on 2024/6/26/026 17:34
 */
class OvalShape(private val radius: Float = 0f) : HighlightShape(radius) {

    override fun initRect(rectF: RectF) {
        super.initRect(rectF)
        rect?.run {
            path.reset()
            path.addOval(this, Path.Direction.CW)
        }
    }
}